#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>

using namespace std;

int main()
{
	string str;
	while (cin >> str)
	{
		cout << str << ' ';
	}
	return 0;
}